home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
zint.arc
/
ZINT.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1986-08-12
|
435b
|
21 lines
type
Regtype = record Ax,Bx,Cx,Dx,Bp,Si,Di,Ds,Es,Flags:integer end;
HalfRegtype = record Al,Ah,Bl,Bh,Cl,Ch,Dl,Dh:byte end;
var
i : integer ;
procedure zero_int(int:byte) ;
var
saveregs : regtype ;
begin
SaveRegs.Ax := $25 shl 8 + Int;
SaveRegs.Ds := 0 ;
SaveRegs.Dx := 0 ;
Intr($21,SaveRegs); { set the interupt to 0 }
end ;
begin
for i := $60 to $70 do zero_int(i) ;
end .